import request from '@/utils/request'

export default {
  getTbQuestionList(searchModel) {
    return request({
      url: '/tb/customer',
      method: 'get',
      params: {
        pageNo: searchModel.pageNo,
        pageSize: searchModel.pageSize,
        question: searchModel.question
      }
    })
  },
  getRefresh(question) {
    return request({
      url: `/tb/customerAgain/${question}`,
      method: 'get'
    })
  },
  getSingleQuestion(question) {
    return request({
      url: `/tb/customerSingle/${question}`,
      method: 'get'
    })
  }
}
